package com.stx.friends.dao;

import java.util.List;


import com.stx.friends.entity.UserEntity;

import com.stx.friends.vo.UserVo;

public interface UserDao {
	
	List<UserEntity> list(UserVo vo);
	List<UserEntity> listByUid(String wrxUid);
	
	UserEntity getUserById(String uid);
	String getIdByUname(String uname);
	void delUser(String uid);
	void addUser(UserVo user);
	void updateUser(UserVo criteria);
	UserEntity findUserByUnameAndPassword(String username, String password);
}
